/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.croparea.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.croparea.entity.TpArea;
import com.thinkgem.jeesite.modules.croparea.dao.TpAreaDao;

/**
 * 管理作物区域Service
 * @author 王虎
 * @version 2017-03-10
 */
@Service
@Transactional(readOnly = true)
public class TpAreaService extends CrudService<TpAreaDao, TpArea> {

	public TpArea get(String id) {
		return super.get(id);
	}
	
	public List<TpArea> findList(TpArea tpArea) {
		return super.findList(tpArea);
	}
	
	public Page<TpArea> findPage(Page<TpArea> page, TpArea tpArea) {
		return super.findPage(page, tpArea);
	}
	
	@Transactional(readOnly = false)
	public void save(TpArea tpArea) {
		super.save(tpArea);
	}
	
	@Transactional(readOnly = false)
	public void delete(TpArea tpArea) {
		super.delete(tpArea);
	}
	
}